import Vue from "vue";
import VueRouter from "vue-router";

Vue.use(VueRouter);

const routes = [
  {
    path:"/modal",
    component: ()=>import("../pages/modal")
  },
  {
    path:"/goods",
    component: ()=>import("../pages/goods")
  },
  {
    path:"/tab",
    component: ()=>import("../pages/tab")
  },
  {
    path:"/auth",
    component: ()=>import("../pages/auth")
  },
];

const router = new VueRouter({
  routes,
});

export default router;
